@echo off
rem ==============================================================================
rem  Purpouse of this script:
rem   	Set up the enviroment:
rem 		- NMON location
rem 		- TPC location
rem 		- DB2 location (actually this is set up in credentials.properties)
rem 		- JAVA_HOME location
rem 		- ANT_HOME location
rem ------------------------------------------------------------------------------


@set ant_home_relative=D:\work\tpc\_smcrt_runtime\apache-ant-1.7.0-bin
@set java_home_relative=D:\work\tpc\_smcrt_runtime\ibm-java2-sdk-50-win-i386

@set dir1_initial=%CD%
@set SMCRT_BSH_CLASSPATH=%dir1_initial%\lib\BeanShell_bsh-2.0b4.jar;%dir1_initial%\bin\;

cd %ant_home_relative%
@SET ANT_HOME=%CD%


cd /D %dir1_initial%
cd %java_home_relative%
@SET JAVA_HOME=%CD%

@SET PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin;%PERL_HOME%\bin;%PATH%


cd /D %dir1_initial%
